#include "cpu/exec/template-start.h"

#define instr leave
 
 make_helper(concat(leave_r_,SUFFIX)){
   REG(R_ESP)=REG(R_EBP);
   REG(R_EBP)=MEM_R(cpu.esp);
   MEM_W(REG(R_ESP),0);
   REG(R_ESP)+=DATA_BYTE;
   return 1;
 }


#include "cpu/exec/template-end.h"